package org.jsbd.boss.service.impl;

import java.util.Map;

import org.jsbd.boss.common.DataGridModel;
import org.jsbd.boss.dao.IMarkStatRecordDao;
import org.jsbd.boss.domian.MarkStatRecordBean;
import org.jsbd.boss.service.IMarkStatRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("markStatRecordService")
public class MarkStatRecordServiceImpl implements IMarkStatRecordService{
    @Autowired
    private IMarkStatRecordDao markStatRecordDao;
	
	
	@Override
	public Map<String, Object> getNewTaskPageList(MarkStatRecordBean markStatRecordBean) {
		return markStatRecordDao.getNewTaskPageList(markStatRecordBean);
	}


	@Override
	public Map<String, Object> getRetentTaskPageList(DataGridModel page, MarkStatRecordBean markStatRecordBean) {
		markStatRecordBean.setPageInfo(page);
		return markStatRecordDao.getRetentTaskPageList(markStatRecordBean);
	}


	@Override
	public Map<String, Object> get1RetentTaskPageList(DataGridModel page, MarkStatRecordBean markStatRecordBean) {
		markStatRecordBean.setPageInfo(page);
		return  markStatRecordDao.get1RetentTaskPageList(markStatRecordBean);
	}

}
